<?php

require("dbFunctions.php");

$dbh = connectDB();

$query = "SELECT * FROM Suppliers WHERE is_admin=1 AND is_active=1";
$stmt = $dbh->prepare($query);
$stmt->execute();

if($stmt->rowCount() == 0)
    die("No admin account found.");

?>
